fix: properly parse xml with no replacements#230
Conversation
WalkthroughAdds Default derive and serde default for FormatAdvice.replacements; uses FormatAdvice::default() in no-output code path; changes task-output handling to early-return on errors via unwraps; converts several test assertions to direct unwrap/unwrap_err; splits review test ignore patterns into separate format/tidy variables. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20–30 minutes
Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
When capturing clang tools output, any error encountered should cause fast-failure behavior. Also adjust run_main() tests so that erroneous output is more helpful..
|
@coderabbitai help |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
@coderabbitai summary |
✅ Actions performedSummary regeneration triggered. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #230 +/- ##
==========================================
+ Coverage 96.79% 96.90% +0.10%
==========================================
Files 14 14
Lines 3027 3034 +7
==========================================
+ Hits 2930 2940 +10
+ Misses 97 94 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Fixing XML parsing caused another problem to surface: Errors were ignored during capture of clang tools output. A side effect of that fix required some test changes about PR reviews (LGTM scenario).
Summary by CodeRabbit
Bug Fixes
Tests
✏️ Tip: You can customize this high-level summary in your review settings.